// Agent agent4_Alison in project swatJacamo

/* Initial beliefs and rules */

/* Initial goals */

!test_clock.

/* Plans */


+!test_clock
	<- 	makeArtifact("myClock","artifact.Artifact5Alison",[],Id);
		focus(Id);
		+n_ticks(0);
		start;
		println("clock started.").
	
@plan1
+tick: n_ticks(10)
	<- 	stop;
		println("clock stopped.").
		
@plan2 [atomic]
+tick: n_ticks(N)
	<- 	-+n_ticks(N+1);
		println("tick perceived!").
